import { PRIMARY_OUTLET, Routes } from '@angular/router';
import { AComponent } from './a.component';
import { BComponent } from './b.component';
import { CComponent } from './c.component';
import { AboutComponent } from './about.component';
import { TabsComponent } from './tabs.component';
import { WelcomeComponent } from './welcome.component';

export const routes: Routes = [
  {
    path: '',
    component: WelcomeComponent,
  },
  {
    path: 'about',
    component: AboutComponent,
  },
  {
    path: 'tabs',
    component: TabsComponent,
    children: [
      {
        path: 'a',
        component: AComponent,
      },
      {
        path: 'b',
        component: BComponent,
      },
      {
        path: 'c',
        component: CComponent,
      },
    ],
  },
];
